﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoTouch.SQLite;

namespace bjeschool_csharp.Model
{
	public class M_ClassNote
    {
        [PrimaryKey, AutoIncrement]
        public int ID { get; set; }
        public DateTime CourseTime { get; set; }//上课时间
        //public int SchoolID;//所在学校
        //public string SchoolName;
        public int ClassID { get; set; }//授课班级M_Class
        public string ClassName { get; set; }
		public int CourseID { get; set; }//课程
		public string CourseName { get; set; }
        public string Notes { get; set; }//课程笔记
        public string StudentShow { get; set; }//学生表现（参考UI）
    }

	public class M_ClassNoteItem
	{
		[PrimaryKey, AutoIncrement]
		public int ID { get; set; }
		public string Name { get; set; }//
		public NoteItemType Type { get; set; }//
		public int Sheet { get; set; }//
		public DateTime CreateTime { get; set; }//
	}

	public enum NoteItemType
	{
		Sys, Add, Sub,
	}
}
